             package com.java.diagnostics.visualizer.recommender.memory;
             
             import com.java.diagnostics.visualizer.data.AggregateData;
             import com.java.diagnostics.visualizer.data.TupleData;
             import com.java.diagnostics.visualizer.parser.vgc.constants.VGCAxes;
             import com.java.diagnostics.visualizer.recommender.Recommendation;
             import com.java.diagnostics.visualizer.recommender.RecommendationBase;
             import com.java.diagnostics.visualizer.recommender.util.Messages;
             
             public class FindLargestAllocation
               extends RecommendationBase
               implements Recommendation
             {
               public void recommend(AggregateData data)
               {
                 Object gcMode = getGCMode(data);
                 if ("balanced".equals(gcMode)) {
                   return;
                 }
                 
                 TupleData sizes = data.getTupleData("VGCLabels.request.sizes.which.triggered.failures");
                 if ((sizes != null) && (!sizes.isEmpty()))
                 {
                   double maxSize = sizes.getMaxY(VGCAxes.BYTES);
                   addToSummary(data, 
                     Messages.getString("largest.memory.request", new Object[] { VGCAxes.BYTES }), new Double(maxSize));
                 }
               }
             }


